export interface FormState {
    username: string;
    password: string;
    remember: boolean;
}
interface IRegex{
    uname: RegExp;
    pwd: RegExp;
}
export const regexRule:IRegex={
    uname: /^[A-Za-z0-9]{6,16}$/,
    pwd:/^(?=.*[A-Za-z])(?=.*[0-9])[A-Za-z0-9_]{8,16}$/
}